projects
/
cargo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f265c77
)
Fix rust-lang/rust#35203 warning/error
author
Tim Neumann
<mail@timnn.me>
Wed, 26 Oct 2016 15:25:15 +0000
(17:25 +0200)
committer
GitHub
<noreply@github.com>
Wed, 26 Oct 2016 15:25:15 +0000
(17:25 +0200)
rust-lang/rust#35203 made patterns in functions without body into a warn by default lint (which is being `deny`ed here).
tests/cargotest/support/mod.rs
patch
|
blob
|
history
diff --git
a/tests/cargotest/support/mod.rs
b/tests/cargotest/support/mod.rs
index 6de6df19764cf5366ea82995c24b6ae8714b9557..e647b7af02186ee2c18824741b75b30bd991b294 100644
(file)
--- a/
tests/cargotest/support/mod.rs
+++ b/
tests/cargotest/support/mod.rs
@@
-608,7
+608,7
@@
pub fn shell_writes<T: fmt::Display>(string: T) -> ShellWrites {
}
pub trait Tap {
- fn tap<F: FnOnce(&mut Self)>(
mut
self, callback: F) -> Self;
+ fn tap<F: FnOnce(&mut Self)>(self, callback: F) -> Self;
}
impl<T> Tap for T {